<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html">
    <h:head>
        <meta charset="utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <title>Login Page</title>
        <link rel="stylesheet" href="css/style.css" />
    </h:head>
    <h:body>
        <p class="headerTitle">Result Declaration Board</p>
        
            <h:form class="login">
                
          <p>
            <label for="login">Username:</label>
            <h:inputText id="login" value="#{usersController.username}"/>
          </p>

          <p>
            <label for="password">Password:</label>
            <h:inputSecret id="password" value="#{usersController.password}"/>
          </p>

          <p class="login-submit">
              <h:commandButton styleClass="login-button" value="Login" action="#{usersController.login()}" />
          </p>
                <br />
                <h:panelGroup id="messagePanel" layout="block" style="width: 100%">
                    <h:messages errorClass="about"  layout="table" >
                    </h:messages>
                </h:panelGroup>
            </h:form>
    </h:body>
</html>

